package cn.qingsec;

import cn.dev33.satoken.SaManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class SaTokenOauth2ServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(SaTokenOauth2ServerApplication.class, args);
        System.out.println("\n启动成功：Sa-Token配置如下：" + SaManager.getConfig());
//        SaManager.getSaTokenDao().set("server", "server", 100000);

    }
}
